package com.cloud.enums;

/**
 * 授权密钥方式
 *
 * @author yzj
 */
public enum AuthMode {

    SYSTEM(0, "内部系统密钥"),
    TALK_APP(1, "H5密钥"),
    TALK_PC(2, "PC扫码密钥"),
    TALK_MIN_APP(3, "小程序");

    private final Integer code;
    private final String info;

    AuthMode(Integer code, String info) {
        this.code = code;
        this.info = info;
    }

    public Integer getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }

}
